package com.ruoyi.fee.mapper;

import java.util.List;
import com.ruoyi.fee.domain.WCustomerSettlementMode;

/**
 * 客户结算方式Mapper接口
 * 
 * @author wzy
 * @date 2024-08-30 14:32:52
 */
public interface WCustomerSettlementModeMapper 
{
    /**
     * 查询客户结算方式
     * 
     * @param customerSettlementModeId 客户结算方式主键
     * @return 客户结算方式
     */
    public WCustomerSettlementMode selectWCustomerSettlementModeByCustomerSettlementModeId(Long customerSettlementModeId);

    /**
     * 查询客户结算方式列表
     * 
     * @param wCustomerSettlementMode 客户结算方式
     * @return 客户结算方式集合
     */
    public List<WCustomerSettlementMode> selectWCustomerSettlementModeList(WCustomerSettlementMode wCustomerSettlementMode);

    /**
     * 新增客户结算方式
     * 
     * @param wCustomerSettlementMode 客户结算方式
     * @return 结果
     */
    public int insertWCustomerSettlementMode(WCustomerSettlementMode wCustomerSettlementMode);

    /**
     * 修改客户结算方式
     * 
     * @param wCustomerSettlementMode 客户结算方式
     * @return 结果
     */
    public int updateWCustomerSettlementMode(WCustomerSettlementMode wCustomerSettlementMode);

    /**
     * 删除客户结算方式
     * 
     * @param customerSettlementModeId 客户结算方式主键
     * @return 结果
     */
    public int deleteWCustomerSettlementModeByCustomerSettlementModeId(Long customerSettlementModeId);

    /**
     * 批量删除客户结算方式
     * 
     * @param customerSettlementModeIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWCustomerSettlementModeByCustomerSettlementModeIds(Long[] customerSettlementModeIds);

    /**
     * 查询客户结算方式
     *
     * @param customerName 客户结算方式主键
     * @return 客户结算方式
     */
    public WCustomerSettlementMode selectWCustomerSettlementModeByCustomerName(String customerName);
}
